// Display the solar system
function displaySolarSystem(view_context){
	
	var star_3D= new star3D('sun', 109),
	    planets_3D = [new planet3D('mercury', 0.4, 0.4, 0.24), 
	                  new planet3D('venus', 0.9, 0.7, 0.615),
	                  new planet3D('earth', 1, 1, 1),
	                  new planet3D('mars', 0.5, 1.5, 1.881),
	                  new planet3D('jupiter', 11, 5.2, 11.86),
	                  new planet3D('saturn', 9, 9.5, 29.46),
	                  new planet3D('uranus', 4, 19.6, 84.01),
	                  new planet3D('neptune', 3.8, 30, 164.8)];
	
	// Reset view context
	view_context.reset();
	view_context.camera.position.z = 60
	
	// The star
	view_context.animateFunctions.push(star_3D.animate);
	view_context.scene.add(star_3D.mesh);

	// The planets
	for (var elem in planets_3D){
		view_context.animateFunctions.push(planets_3D[elem].animate)
		view_context.scene.add(planets_3D[elem].orbit);
		view_context.scene.add(planets_3D[elem].mesh);
	}
	
}
